﻿namespace CompanyPayRollSystem
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;

    /// <summary>
    /// Home screen.
    /// </summary>
    public partial class Home : Form
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Windows.Forms.Form"/> class.
        /// </summary>
        public Home()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Handles the Click event of the addEmployeeToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void addEmployeeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddEmployeeForm addEmployeeForm = new AddEmployeeForm();
            addEmployeeForm.ShowDialog();
        }

        /// <summary>
        /// Handles the Click event of the calculateSalaryToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void calculateSalaryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CalculateSalaryForm calculateSalaryForm = new CalculateSalaryForm();
            calculateSalaryForm.ShowDialog();
        }

        /// <summary>
        /// Handles the Click event of the addDepartmentToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void addDepartmentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddDepartmentForm addDepartmentForm = new AddDepartmentForm();
            addDepartmentForm.ShowDialog();
        }

        /// <summary>
        /// Handles the Click event of the addJobLevelToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void addJobLevelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
        }

        /// <summary>
        /// Handles the Click event of the setSalaryItemsToolStripMenuItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void setSalaryItemsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SetSalaryItemsForm setSalaryItemsForm = new SetSalaryItemsForm();
            setSalaryItemsForm.ShowDialog();
        }
    }
}
